package Demo06;


import java.util.Scanner;

public class Demo06ScannerSum {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个数字：");
        int a = sc.nextInt();
        System.out.println("请输入下一个数字：");
        int b = sc.nextInt();
        int sum = a + b;
        System.out.println("数字所求的和为：" + sum);
    }

}
